package org.gpf.singleton;

/**
 * 单态模式的锇汉式实现：一上来就加载类【线程安全】
 * @author gaopengfei
 * @date 2015-4-21 下午12:40:08
 */
public class Singleton1 {

	private static Singleton1 singleton = new Singleton1();
	
	private Singleton1(){
		
	}
	
	public static final Singleton1 getInstance(){
		return singleton;
	}
}
